document.addEventListener('DOMContentLoaded', function() {
    console.log('本地js文件【my1.js】被加载');
});

alert('你被攻击了');